/**
 * See https://css.gg/spinner
 */

.spinner,
.spinner::after,
.spinner::before {
  @apply -block -relative;
  width: 1em;
  height: 1em;
}
.spinner::after,
.spinner::before {
  content: ' ';
  @apply -absolute -rounded-full;
}
.spinner::before {
  animation: -spin 1s cubic-bezier(.6,0,.4,1) infinite;
  border: calc(1em / 6) solid transparent;
  border-top-color: currentColor;
}
.spinner::after {
  border: calc(1em / 6) solid;
  @apply -opacity-20;
}
